<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    let sum=0;
    for(let i=1;i<=100;i++){
        sum+=i;
    }
    document.write(sum);
</script>
</body>
</html>